/*
 * @Author: liuxiang
 * @Date: 2022-01-10 14:36:41
 * @LastEditors: liuxiang
 * @LastEditTime: 2022-01-21 11:42:54
 * @Description: file content
 */
import Vue from 'vue'
import axios from 'axios'

import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import ElStore from 'electron-store';
import 'element-ui/lib/theme-chalk/index.css'


if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false

Vue.prototype.$ElStore = new ElStore();

Vue.use(ElementUI, { size: 'small', zIndex: 3000 });

/* eslint-disable no-new */
new Vue({
  components: { App },
  router,
  store,
  template: '<App/>'
}).$mount('#app')
